﻿@using KRM.Core
@model tblPersonalPosition
<div class="form-horizontal">
     <div id="msg-personalpositioninfo"></div>
    <h3 class="form-section" style="margin-top: 0px;">Position Info</h3>
    @if (Model.Id==0)
    {
        <div class="row">
                <div class="col-md-12">
                    <div class="note note-success">
                        <p>Your position information is empty</p>
                    </div>
                </div>
            </div>
    }
    <div class="form-body alert note-info">
        <div class="row">
            <div class="col-md-12">
                <div class="form-group">
                    <label class="control-label col-md-2">Job Title :</label>
                    <div class="col-md-10">
                        <p class="form-control-static">@Model.JobTitle</p>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-6">
                <div class="form-group">
                    <label class="control-label col-md-3">Department :</label>
                    <div class="col-md-9">
                        <p class="form-control-static">@(Model.tblHRDepartment==null?"":Model.tblHRDepartment.DepartmentName)</p>
                    </div>
                </div>
               
            </div>
            <div class="col-md-6">
                <div class="form-group">
                    <label class="control-label col-md-3">Position :</label>
                    <div class="col-md-9">
                        <p class="form-control-static">@(Model.tblPosition==null?"":Model.tblPosition.Name)</p>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-6">
                <div class="form-group">
                    <label class="control-label col-md-3">Start Date :</label>
                    <div class="col-md-9">
                        <p  class="form-control-static">@Model.StartDate.ToString("MM/dd/yyyy")</p>
                    </div>
                </div>
            </div>
            <div class="col-md-6">
                <div class="form-group">
                    <label class="control-label col-md-3">End Date :</label>
                    <div class="col-md-9">
                        <p  class="form-control-static">@Model.EndDate.ToString("MM/dd/yyyy")</p>
                    </div>
                </div>
            </div></div>
        <div class="row">
            <div class="col-md-6">
                <div class="form-group">
                    <label class="control-label col-md-3">Rate Of Pay :</label>
                    <div class="col-md-9">
                        <p  class="form-control-static">@Model.RateOfPay</p>
                    </div>
                </div></div>
            <div class="col-md-6">
                <div class="form-group">
                    <label class="control-label col-md-3">Hours Of Work :</label>
                    <div class="col-md-9">
                        <p  class="form-control-static">@Model.HoursOfWork</p>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-6">
                <div class="form-group">
                    <label class="control-label col-md-3">Site :</label>
                    <div class="col-md-9">
                        <p  class="form-control-static">@(Model.tblSite==null?"":Model.tblSite.Name)</p>
                    </div>
                </div></div>
        </div>
    </div>
</div>